Skip to content

Conversation

@xrstf
Copy link
Contributor

@xrstf xrstf commented Feb 12, 2025

Summary

#22 made it possible, so now this PR adds more e2e tests. And I also identified the first few bugs in the agent thanks to the tests :-)

In addition to the tests, this PR also extends the FAQ because I saw many temporary errors in the agent log files, but when I checked, they were indeed temporary. Also I checked, an APIExport gets ready & virtualWorkspaceURLsReady immediately after creation, so there isn't really anything the agent could do to delay its own setup and wait for the APIs to be actually available.

There are now also flags to configure the metrics & health probes servers.

Related issue(s)

part of #16

Release Notes

* Fix CRD version projection not actually changing the API version in the APIResourceSchema.
* Fix agent not setting served/storage in the API version in the APIResourceSchema.
* Add `--metrics-address` and `--health-address` to configure the metrics & health servers. Setting to "0" will disable either of them.

@kcp-ci-bot kcp-ci-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Feb 12, 2025
@kcp-ci-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kcp-ci-bot kcp-ci-bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Feb 12, 2025
@xrstf
Copy link
Contributor Author

xrstf commented Feb 12, 2025

/test all

@kcp-ci-bot kcp-ci-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Feb 12, 2025
@xrstf xrstf changed the title 🌱 Add e2e tests for the apiexport controller 🌱 Add integraiton tests for the apiexport controller Feb 14, 2025
@xrstf xrstf changed the title 🌱 Add integraiton tests for the apiexport controller 🌱 Add integration tests for the apiexport controller Feb 14, 2025
@kcp-ci-bot kcp-ci-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 14, 2025
@xrstf xrstf marked this pull request as ready for review February 14, 2025 10:01
@kcp-ci-bot kcp-ci-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 14, 2025
@kcp-ci-bot kcp-ci-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 14, 2025
@xrstf xrstf requested a review from embik February 14, 2025 10:21
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 6f556cb687055f23523223ef6351e44770d5aeb0

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 14, 2025
@kcp-ci-bot kcp-ci-bot merged commit c513691 into main Feb 14, 2025
10 of 11 checks passed
@kcp-ci-bot kcp-ci-bot deleted the more-e2e-tests branch February 14, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants